package com.atguigu01.oop;

import javax.naming.Name;

/**
 * ClassName: Phone
 * Package: com.atguigu01.oop
 * Description:
 *
 * @Author xiao_qi
 * @Create 2024/3/16 13:13
 * @Version 1.0
 */
public class Phone {
    String name;
    int prices;

public void call(){
    System.out.println("能打出电话为：");
}
public void senmessage(String message){
    System.out.println("发出信息为：" + message);
}
    public void playGame(){
        System.out.println("手机可以玩游戏");
    }
}
